From: Carlos Garnacho Date: Tue, 13 Mar 2018 14:22:15 +0000 (+0100) Subject: shellEntry: Use correct enum for input purpose hints X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~970^2^2~28 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=bfdbee8115b38d48411785742d36d3af19866027;p=gnome-shell.git shellEntry: Use correct enum for input purpose hints This was mistakenly left using the GTK+ counterparts. Luckily the enums are binary compatible, but oops. --- diff --git a/js/ui/shellEntry.js b/js/ui/shellEntry.js index 897a226fa..9db5136e6 100644 --- a/js/ui/shellEntry.js +++ b/js/ui/shellEntry.js @@ -55,11 +55,11 @@ var EntryMenu = new Lang.Class({ if (v) { this._makePasswordItem(); - this._entry.input_purpose = Gtk.InputPurpose.PASSWORD; + this._entry.input_purpose = Clutter.InputContentPurpose.PASSWORD; } else { this._passwordItem.destroy(); this._passwordItem = null; - this._entry.input_purpose = Gtk.InputPurpose.FREE_FORM; + this._entry.input_purpose = Clutter.InputContentPurpose.NORMAL; } },